/*
 * Copyright 2008 Federal Emergency Management Agency
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"); 
 * you may not use this file except in compliance with the License. 
 * You may obtain a copy of the License at 
 * 
 *    http://www.apache.org/licenses/LICENSE-2.0 
 *    
 * Unless required by applicable law or agreed to in writing, software 
 * distributed under the License is distributed on an "AS IS" BASIS, 
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and 
 * limitations under the License. 
 *  
 */
package gov.fema.hazus.bdc.client.general.building;

import gov.fema.hazus.bdc.client.common.ui.AbstractClassificationSchemeListBox;
import gov.fema.hazus.bdc.client.general.GeneralConstants;

import com.google.gwt.core.client.GWT;


public class BuildingStructuralTypeListBox extends AbstractClassificationSchemeListBox {

	private GeneralConstants constants;

	public BuildingStructuralTypeListBox()
	{
		
		constants = (GeneralConstants)GWT.create(GeneralConstants.class);
		
		// add all of the items, if null, set to UNK
		this.addItem(constants.schemaBuildingTypeUNK(), "UNK");
		
		this.addItem(constants.schemaBuildingTypeC1(), "C1");
		this.addItem(constants.schemaBuildingTypeC2(), "C2");
		this.addItem(constants.schemaBuildingTypeC3(), "C3");
		this.addItem(constants.schemaBuildingTypeMH(), "MH");
		this.addItem(constants.schemaBuildingTypeO(), "O");
		this.addItem(constants.schemaBuildingTypeP1(), "P1");
		this.addItem(constants.schemaBuildingTypeP2(), "P2");
		this.addItem(constants.schemaBuildingTypeRM1(), "RM1");
		this.addItem(constants.schemaBuildingTypeRM2(), "RM2");
		this.addItem(constants.schemaBuildingTypeS1(), "S1");
		this.addItem(constants.schemaBuildingTypeS2(), "S2");
		this.addItem(constants.schemaBuildingTypeS3(), "S3");
		this.addItem(constants.schemaBuildingTypeS4(), "S4");
		this.addItem(constants.schemaBuildingTypeS5(), "S5");
		this.addItem(constants.schemaBuildingTypeURM(), "URM");
		this.addItem(constants.schemaBuildingTypeW1(), "W1");
		this.addItem(constants.schemaBuildingTypeW2(), "W2");
		
	}
}
